package lijunbo.controller;

import lijunbo.entity.LiJunBoEntity;
import lijunbo.service.LiJunBoService;

import javax.annotation.Resource;
import java.util.List;

public class LiJunBoController {
    List<LiJunBoEntity> list=null;

    String name = null;
    @Resource
    LiJunBoService liJunBoService;

    public String queryPage(){
        list = liJunBoService.queryPage(name);
        return "queryPage";
    }

    public List<LiJunBoEntity> getList() {
        return list;
    }

    public void setList(List<LiJunBoEntity> list) {
        this.list = list;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
